﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace RFID.Web.pages
{
    public partial class Content : System.Web.UI.MasterPage
    {
        public string CardId { get; private set; }

        protected void Page_Load(object sender, EventArgs e)
        {
            CardId = Convert.ToString(Session["CardID"]);
            if (string.IsNullOrWhiteSpace(CardId))
            {
                Response.Redirect("~/login.aspx");
            }

        }
    }
}